rolesystem.jade
Class RoleMsg

java.lang.Object
  extended by rolesystem.jade.RoleMsg
All Implemented Interfaces:
java.io.Serializable

public class RoleMsg
extends java.lang.Object
implements java.io.Serializable

This class represents a message exchanged between the wrapper layer of agents and the server agent.

See Also:
Serialized Form

Constructor Summary
RoleMsg(int scope, java.io.Serializable content)
           
 
Method Summary
 java.io.Serializable getContent()
          Returns the content of this message.
 int getScope()
          Returns the scope of this message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RoleMsg

public RoleMsg(int scope,
               java.io.Serializable content)
Parameters:
scope - Scope of this message; 0 refers to system scope, other numbers refer to the corresponding registrations.
content - Content of this message.
Method Detail

getScope

public int getScope()
Returns the scope of this message.

Returns:
The scope of this message; 0 refers to system scope, other numbers refer to the corresponding registrations.

getContent

public java.io.Serializable getContent()
Returns the content of this message.

Returns:
The content of this message.